package com.netposa.datawarehouse.bodysearch.consumer;

import com.netposa.datawarehouse.bodysearch.consumer.fallback.SearchServiceFeignFallback;
import com.netposa.npwonder.base.model.ResponseData;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(
   name = "search-service",
   fallback = SearchServiceFeignFallback.class
)
public interface SearchServiceFeign {
   @RequestMapping(
      value = {"/deviceObj/info/{id}"},
      method = {RequestMethod.GET}
   )
   ResponseData coverInfo(@PathVariable("id") String var1);
}
